From: Giovanni Campagna Date: Thu, 16 Aug 2012 23:16:20 +0000 (+0200) Subject: ScreenShield: reduce curtain sliding time to 0.5 seconds X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6177 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a5f2d289bd6b8d309b6e63cfd8bb723400de8975;p=gnome-shell.git ScreenShield: reduce curtain sliding time to 0.5 seconds Current time is too long, 0.5 was proved to be more effective in user testing. https://bugzilla.gnome.org/show_bug.cgi?id=681143 --- diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 5e294c210..f37541769 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -18,7 +18,7 @@ const Tweener = imports.ui.tweener; const SCREENSAVER_SCHEMA = 'org.gnome.desktop.screensaver'; const LOCK_ENABLED_KEY = 'lock-enabled'; -const CURTAIN_SLIDE_TIME = 0.8; +const CURTAIN_SLIDE_TIME = 0.5; // fraction of screen height the arrow must reach before completing // the slide up automatically const ARROW_DRAG_TRESHOLD = 0.1;